package aufgabe_02;

public class Message {

	static final int MINPRIO = 1;
	static final int MEDIUMPRIO = 5;
	static final int MAXPRIO = 10;
	private int priority;
	private String text;

	public Message (String text, int priority)
	{  
		this.text = text;
		this.priority = priority;
	}
	
	public int getPriority()
	{
		return priority;
	}
	
	public String getText()
	{
		return text;
	}
}


